package com.friday.util;

import java.util.Comparator;

import com.friday.po.SignInHistory;

public class SignHistoryComparator implements Comparator<SignInHistory> {

	@Override
	public int compare(SignInHistory o1, SignInHistory o2) {
		if (o1.getDate().after(o2.getDate())) {
			return 1;
		}
		else {
			return 0;
		}
	}

}
